﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>系统登录 - 超市账单管理系统</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/style.css"/>
</head>
<body class="login_bg">
<section class="loginBox">
    <header class="loginHeader">
        <h1>超市账单管理系统</h1>
    </header>
    <section class="loginCont">

        <%--todo 提交登录数据--%>
        <form class="loginForm" action="${pageContext.request.contextPath}/manager/login.action" method="post">

            <%--todo 展示校验信息--%>
            <strong style="color: red; alignment: center">${loginMsg}</strong>
            <div class="inputbox">
                <label for="user">用户名：</label>
                <input id="user" type="text" name="username" value="${manager.username}" placeholder="请输入用户名" />
            </div>
            <div class="inputbox">
                <label for="mima">密码：</label>
                <input id="mima" type="password" name="password" value="${manager.password}"placeholder="请输入密码" />
            </div>
            <div class="subBtn">
                <input type="submit" value="登录" />
                <input type="reset" value="重置"/>
            </div>

        </form>
    </section>
</section>
</body>
</html>